package com.woniuxy.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 饲养记录对象 algs_feeding_record
 * 
 * @author ruoyi
 * @date 2023-03-15
 */
public class AlgsFeedingRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long feedingRecordId;

    /** 记录日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date feedingRecordDate;

    /** 状态ID（外键） */
    @Excel(name = "状态ID", readConverterExp = "外=键")
    private Long typeId;

    /** 负责人ID（外键） */
    @Excel(name = "负责人ID", readConverterExp = "外=键")
    private Long staffId;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String feedingRecordDesc;

    public void setFeedingRecordId(Long feedingRecordId) 
    {
        this.feedingRecordId = feedingRecordId;
    }

    public Long getFeedingRecordId() 
    {
        return feedingRecordId;
    }
    public void setFeedingRecordDate(Date feedingRecordDate) 
    {
        this.feedingRecordDate = feedingRecordDate;
    }

    public Date getFeedingRecordDate() 
    {
        return feedingRecordDate;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setStaffId(Long staffId) 
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }
    public void setFeedingRecordDesc(String feedingRecordDesc) 
    {
        this.feedingRecordDesc = feedingRecordDesc;
    }

    public String getFeedingRecordDesc() 
    {
        return feedingRecordDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("feedingRecordId", getFeedingRecordId())
            .append("feedingRecordDate", getFeedingRecordDate())
            .append("typeId", getTypeId())
            .append("staffId", getStaffId())
            .append("feedingRecordDesc", getFeedingRecordDesc())
            .toString();
    }
}
